package com.study.designPattern.factorymethod;

public abstract class AbstractHumanFactory {
    public abstract <T extends Human> T createHuman(Class<T> c);

    /**
     * 随机产生一个人类
     * @return
     */
    public abstract Human createHuman();
}
